package com.xaw.medicalcrane.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病情指标数据（患者）记录表
 * </p>
 *
 * @author
 * @since 2023-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BqRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录表主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药品id
     */
    private Integer drugId;

    /**
     * 癌症标志物id
     */
    private Integer markerId;

    /**
     * 药品剂量
     */
    private Float dosage;

    /**
     * 癌症标志物值
     */
    private Float value;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 删除标识
     */
    @TableLogic
    private Integer deleteFlag;


}
